package Class;

import java.util.ArrayList;

public class SingletonCommandesEnCours {
	private ArrayList<Commande> commandesEnCours; 
	private static SingletonCommandesEnCours courant;
	private SingletonCommandesEnCours(){
		commandesEnCours = new ArrayList<Commande>();
	}
	public static SingletonCommandesEnCours getCourant(){
		if (courant == null)
			courant = new SingletonCommandesEnCours();
		return courant;
	}
	public ArrayList<Commande> getListCommande()
	{
		return commandesEnCours;
	}
}
